package com.myway.service.ibe.param;

/**
 * Created by yufei on 2018/7/26.
 */
public class FlightParam {
    /**
     * 航班类型 单程OW；往返RT,大写英文,默认OW
     */
    private String travlType="OW";
    /**
     * 运价币种代码；如：EUR
     */
    private String currency;
    /**
     * 直接默认MJ，不用设置
     */
    private String airline = "MJ";
    /**
     * 舱位代码,必须设置，比如：C
     */
    private String cabinCode;

    /**
     * 出发地，必须设置
     */
    private String orgCity;

    /**
     * 目的地 必须设置
     */
    private String dstCity;
    /**
     * 航班出发日期 必须设置
     */
    private String flightDate;

    /**
     * 航班到达日期 必须设置
     */
    private String arrDate;
    /**
     * 航班号 必须设置 格式：409,
     */
    private String flightNo;
    /**
     * 是否经停 可以不设置
     */
    private boolean direct;
    /**
     *  经停次数 可以不设置
     */
    private int stopNumber;

    /**
     * 航班型号 比如：737
     */
    private String equipment;


    public FlightParam() {
    }

    public String getTravlType() {
        return travlType;
    }

    public void setTravlType(String travlType) {
        this.travlType = travlType;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getCabinCode() {
        return cabinCode;
    }

    public void setCabinCode(String cabinCode) {
        this.cabinCode = cabinCode;
    }

    public String getEquipment() {
        return equipment;
    }

    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    public String getAirline() {
        return airline;
    }

    public void setAirline(String airline) {
        this.airline = airline;
    }

    public String getOrgCity() {
        return orgCity;
    }

    public void setOrgCity(String orgCity) {
        this.orgCity = orgCity;
    }

    public String getDstCity() {
        return dstCity;
    }

    public void setDstCity(String dstCity) {
        this.dstCity = dstCity;
    }

    public String getFlightDate() {
        return flightDate;
    }

    public void setFlightDate(String flightDate) {
        this.flightDate = flightDate;
    }

    public String getArrDate() {
        return arrDate;
    }

    public void setArrDate(String arrDate) {
        this.arrDate = arrDate;
    }

    public boolean isDirect() {
        return direct;
    }

    public void setDirect(boolean direct) {
        this.direct = direct;
    }

    public int getStopNumber() {
        return stopNumber;
    }

    public void setStopNumber(int stopNumber) {
        this.stopNumber = stopNumber;
    }

    public String getFlightNo() {
        return flightNo;
    }

    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo;
    }
}
